﻿namespace iFinance.Entity
{
    using System;

    /// <summary>
    /// 消费品实体
    /// </summary>
    public partial class Consumable
    {
        /// <summary>
        /// 唯一编号
        /// </summary>
        public int ID { get; set; }

        /// <summary>
        /// 消费品名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 上次购买时的单价
        /// </summary>
        public decimal LastUnitPrice { get; set; }

        /// <summary>
        /// 上次购买日期
        /// </summary>
        public DateTime LastPurchaseDate { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 购买过的总数量
        /// </summary>
        public decimal TotalCount { get; set; }

        /// <summary>
        /// 消费品类型ID
        /// </summary>
        public int TypeID { get; set; }
    }
}
